package com.edu.zhku.wms.service;

import com.edu.zhku.wms.dto.WageQueryDto;
import com.edu.zhku.wms.pojo.Wage;
import com.github.pagehelper.PageInfo;

import javax.servlet.http.HttpServletRequest;

public interface WageService {

    int addWage(Wage wage);

    int updateWage(Wage wage);

    Wage getWageById(Integer id);

    PageInfo<Wage> wageList(WageQueryDto wageQueryDto, Integer pageNum, Integer pageSize);

    int deleteWageById(Integer id);

    PageInfo<Wage> getCurrentWageList(HttpServletRequest request, Integer year, Integer pageNum, Integer pageSize);
}
